package com.wxh.controller;


import org.apache.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import com.wxh.common.DataGridView;
import com.wxh.service.BilltypeService;


/**
 * <p>
 *  前端控制器
 * </p>
 */
@RestController
@RequestMapping("/billtype")
public class BilltypeController {
	
	
	@Reference
	private BilltypeService billtypeService;
	
	/**
	 * 查询所有类型
	 */
	@RequestMapping("loadAllBillType")
	public DataGridView loadAllBillType() {
		return this.billtypeService.queryAllBillType();
	}

}

